# 计算日期所在的行列
anyday = int(
    datetime(int(startDay.split('-')[0]), int(startDay.split('-')[1]), int(startDay.split('-')[2])).strftime(
        "%w"))
if anyday == 0:
    row = 8
else:
    row = anyday + 1
end = int(
    datetime(int(startDay.split('-')[0]), int(startDay.split('-')[1]), int(startDay.split('-')[2])).strftime(
        "%W"))
begin = int(datetime(int(startDay.split('-')[0]), int(startDay.split('-')[1]), 1).strftime("%W"))
list = end - begin + 1
driver.find_element_by_css_selector(
    '.day-picker>tbody>tr:nth-child({0})>td:nth-child({1})>button'.format(list, row)).click()